home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / arch / um / include / shared / skas / skas.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  563 b   |  23 lines

  1. /*
  2.  * Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
  3.  * Licensed under the GPL
  4.  */
  5.  
  6. #ifndef __SKAS_H
  7. #define __SKAS_H
  8.  
  9. #include "sysdep/ptrace.h"
  10.  
  11. extern int userspace_pid[];
  12. extern int proc_mm, ptrace_faultinfo, ptrace_ldt;
  13. extern int skas_needs_stub;
  14.  
  15. extern int user_thread(unsigned long stack, int flags);
  16. extern void new_thread_handler(void);
  17. extern void handle_syscall(struct uml_pt_regs *regs);
  18. extern int new_mm(unsigned long stack);
  19. extern long execute_syscall_skas(void *r);
  20. extern unsigned long current_stub_stack(void);
  21.  
  22. #endif
  23.